# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/portaudio-18.1.ebuild,v 1.13 2005/04/21 17:33:40 kito Exp $

inherit eutils

MY_P=${P//[-.]/_}
DESCRIPTION="Sound notation parser."
HOMEPAGE="http://abcp.sourceforge.net/"
SRC_URI="http://www.gscore.org/targz/libabcp.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc amd64 ~ppc ppc-macos ~mips hppa"
S=${WORKDIR}/${PN}
IUSE=""

RDEPEND="virtual/libc"
DEPEND="app-arch/unzip
		dev-lang/lua"

src_compile() {
	make || die
}

src_install() {
	sed -ie "s:DESTDIT:DESTDIR:g" Makefile
	dodir /usr/include
	make DESTDIR=${D} install || die
}
